-- GENERATED SPELL FOR [Lupine Horror] --


function spell0_3863(pUnit, Event) --@Summon Lupine Delusions,Self--
pUnit:FullCastSpellOnTarget(7132,pUnit)
pUnit:RegisterEvent('Sorts_3863', 1000, 1)
end

function Sorts_3863(pUnit, Event)
local choix_sorts_3863 = math.random(0, 0)
if choix_sorts_3863 == 0 then
pUnit:RegisterEvent('spell0_3863', 1, 1)
end
end

function mob3863_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3863', math.random(1500, 3000), 1)
end

function mob3863_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3863_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3863_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3863, 1, 'mob3863_Action')
RegisterUnitEvent(3863, 2, 'mob3863_Leave')
RegisterUnitEvent(3863, 3, 'mob3863_Kill')
RegisterUnitEvent(3863, 4, 'mob3863_Die')
